Mollie\WooCommerce\Payment\MollieOrder C

Total Complexity 124
Dependencies 13
Dependents 2
Total lines 1,086
Lines of code 676
Logical lines of code 297
Comment lines 197
Methods 24
Properties 7

Methods 24

Method Rating Maintainability Complexity Lines of code
refund_order_items()
B
33 18 98
getPaymentRequestData()
B
36 16 76
refund()
A
41 11 56
createShippingAddress()
A
43 10 57
createBillingAddress()
A
44 10 54
refund_amount()
A
45 8 41
onWebhookCanceled()
A
46 7 39
onWebhookPaid()
S
46 4 44
maybeUpdateStatus()
S
54 4 23
onWebhookCompleted()
S
52 4 23
maximalFieldLengths()
S
63 5 10
onWebhookExpired()
S
51 3 27
onWebhookAuthorized()
S
55 3 19
getMollieCustomerIbanDetailsFromPaymentObject()
S
59 3 14
getPaymentObject()
S
60 3 11
getSequenceTypeFromPaymentObject()
S
66 3 9
getMollieCustomerIdFromPaymentObject()
S
66 3 9
onWebhookFailed()
S
57 1 17
getMolliePaymentIdFromPaymentObject()
S
70 2 6
updatePaymentDataWithOrderData()
S
67 2 8
addAddressToPaypalOrder()
S
59 1 14
addSequenceTypeFirst()
S
76 1 4
setActiveMolliePayment()
S
67 1 8
__construct()
S
65 1 9